package com.ruoyi.bussiness.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

import java.util.List;

/**
 * 作品上传对象 sys_business_artwork
 *
 * @author ruoyi
 * @date 2024-01-23
 */
public class SysBusinessArtwork extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 作品id */
    private Long id;

    /** 作品名称 */
    @Excel(name = "作品名称")
    private String title;

    /** 作者 */
    @Excel(name = "作者")
    private String author;

    /** 指导老师 */
    @Excel(name = "指导老师")
    private String instructor;

    /** 所在单位 */
    @Excel(name = "所在单位")
    private String currentUnit;

    /** 作品封面 */
    @Excel(name = "作品封面")
    private String cover;

    /** 作品详情 */
    @Excel(name = "作品详情")
    private String details;

    /**作品详情的标题**/
    private String detailsTitle;

    /**作品集ID**/
    private Long portfolioId;

    /**作品集名称**/
    private String portfolioName;

    private String status;

    //查看类型 上一个 下一个
    private String viewType;

    /**作品集ID列表**/
    private List<Long> portfolioIdList;

    /** 展示顺序 */
    private Integer orderNum;

    /** 是否置顶（0否 1是） */
    private String isTop;

    /** 是否置底（0否 1是） */
    private String isBottom;

    /**移动类型 1-上移 2-下移 **/
    private  String moveType;

    /**移动类型 1-置顶 2-置底 **/
    private String pinType;

    public Integer getOrderNum() {
        return orderNum;
    }

    public void setOrderNum(Integer orderNum) {
        this.orderNum = orderNum;
    }

    public String getIsTop() {
        return isTop;
    }

    public void setIsTop(String isTop) {
        this.isTop = isTop;
    }

    public String getIsBottom() {
        return isBottom;
    }

    public void setIsBottom(String isBottom) {
        this.isBottom = isBottom;
    }

    public String getMoveType() {
        return moveType;
    }

    public void setMoveType(String moveType) {
        this.moveType = moveType;
    }

    public String getPinType() {
        return pinType;
    }

    public void setPinType(String pinType) {
        this.pinType = pinType;
    }

    public void setId(Long id)
    {
        this.id = id;
    }

    public Long getId()
    {
        return id;
    }
    public void setTitle(String title)
    {
        this.title = title;
    }

    public String getTitle()
    {
        return title;
    }
    public void setAuthor(String author)
    {
        this.author = author;
    }

    public String getAuthor()
    {
        return author;
    }
    public void setInstructor(String instructor)
    {
        this.instructor = instructor;
    }

    public String getInstructor()
    {
        return instructor;
    }
    public void setCurrentUnit(String currentUnit)
    {
        this.currentUnit = currentUnit;
    }

    public String getCurrentUnit()
    {
        return currentUnit;
    }
    public void setCover(String cover)
    {
        this.cover = cover;
    }

    public String getCover()
    {
        return cover;
    }
    public void setDetails(String details)
    {
        this.details = details;
    }

    public String getDetails()
    {
        return details;
    }

    public String getDetailsTitle() {
        return detailsTitle;
    }

    public void setDetailsTitle(String detailsTitle) {
        this.detailsTitle = detailsTitle;
    }

    public Long getPortfolioId() {
        return portfolioId;
    }

    public void setPortfolioId(Long portfolioId) {
        this.portfolioId = portfolioId;
    }

    public String getPortfolioName() {
        return portfolioName;
    }

    public void setPortfolioName(String portfolioName) {
        this.portfolioName = portfolioName;
    }

    public String getStatus() {
        return status;
    }

    public void setStatus(String status) {
        this.status = status;
    }

    public String getViewType() {
        return viewType;
    }

    public void setViewType(String viewType) {
        this.viewType = viewType;
    }

    public List<Long> getPortfolioIdList() {
        return portfolioIdList;
    }

    public void setPortfolioIdList(List<Long> portfolioIdList) {
        this.portfolioIdList = portfolioIdList;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("title", getTitle())
            .append("author", getAuthor())
            .append("instructor", getInstructor())
            .append("currentUnit", getCurrentUnit())
            .append("cover", getCover())
            .append("details", getDetails())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .toString();
    }
}
